\hypertarget{class_q_qt_multi_page_table_widget}{}\section{Q\+Qt\+Multi\+Page\+Table\+Widget Class Reference}
\label{class_q_qt_multi_page_table_widget}\index{Q\+Qt\+Multi\+Page\+Table\+Widget@{Q\+Qt\+Multi\+Page\+Table\+Widget}}


The \mbox{\hyperlink{class_q_qt_multi_page_table_widget}{Q\+Qt\+Multi\+Page\+Table\+Widget}} class 关于视图规格的改变改变到上层 这里的控件使用默认视图 这里的控件只是\+Table-\/\+D\+B关系，没有\+Tree/\+List模型  




{\ttfamily \#include $<$qqtmultipagetablewidget.\+h$>$}

Inheritance diagram for Q\+Qt\+Multi\+Page\+Table\+Widget\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_q_qt_multi_page_table_widget}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_ae7bf13e587b5aa8597c85d24a42cdee3}\label{class_q_qt_multi_page_table_widget_ae7bf13e587b5aa8597c85d24a42cdee3}} 
void {\bfseries remove\+Selected\+Rows} (int column=0)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a7d0a9629be1044878f574c34428c5ff2}\label{class_q_qt_multi_page_table_widget_a7d0a9629be1044878f574c34428c5ff2}} 
{\bfseries Q\+Qt\+Multi\+Page\+Table\+Widget} (Q\+Widget $\ast$parent=0)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a726cff78085003ea970c6acb09971d8c}\label{class_q_qt_multi_page_table_widget_a726cff78085003ea970c6acb09971d8c}} 
void {\bfseries set\+DB} (Q\+String db)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_aae342d5d93fd2c525be62d38aa795e05}\label{class_q_qt_multi_page_table_widget_aae342d5d93fd2c525be62d38aa795e05}} 
void {\bfseries set\+Table} (Q\+String table)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a65b124bdc8536f27f5207080ff240ad8}\label{class_q_qt_multi_page_table_widget_a65b124bdc8536f27f5207080ff240ad8}} 
void {\bfseries set\+Relation} (int column, const Q\+Sql\+Relation \&relation)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_ab825cab6143e067c6b3a166d52b07b6e}\label{class_q_qt_multi_page_table_widget_ab825cab6143e067c6b3a166d52b07b6e}} 
void {\bfseries set\+Record\+Num\+Per\+Page} (int num)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a79ac77ba71ae325934d2a01d0c68a060}\label{class_q_qt_multi_page_table_widget_a79ac77ba71ae325934d2a01d0c68a060}} 
void {\bfseries set\+Column\+Hidden} (int key, bool value=true)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_aafbff3306cdd0e7120d4402d1670a5b9}\label{class_q_qt_multi_page_table_widget_aafbff3306cdd0e7120d4402d1670a5b9}} 
void {\bfseries set\+Selection\+Mode} (Q\+Abstract\+Item\+View\+::\+Selection\+Mode mode=Q\+Abstract\+Item\+View\+::\+Multi\+Selection)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_ab33f0ced6d8f505fde4c561aa4627c12}\label{class_q_qt_multi_page_table_widget_ab33f0ced6d8f505fde4c561aa4627c12}} 
void {\bfseries set\+Resize\+Mode} (Q\+Header\+View\+::\+Resize\+Mode mode=Q\+Header\+View\+::\+Resize\+To\+Contents)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a9642df40aaeac8527a944805f21fdb59}\label{class_q_qt_multi_page_table_widget_a9642df40aaeac8527a944805f21fdb59}} 
void {\bfseries set\+Resize\+Mode} (int column, Q\+Header\+View\+::\+Resize\+Mode mode=Q\+Header\+View\+::\+Resize\+To\+Contents)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a29473350795715cfc9eaf0f143ee70ae}\label{class_q_qt_multi_page_table_widget_a29473350795715cfc9eaf0f143ee70ae}} 
void {\bfseries set\+Alternating\+Row\+Colors} (bool alt=true)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a4dae35ed532ec582e3dc7d49881b7ed5}\label{class_q_qt_multi_page_table_widget_a4dae35ed532ec582e3dc7d49881b7ed5}} 
void {\bfseries set\+Header\+Data} (Qt\+::\+Orientation, Q\+String\+List data\+List)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_ab05d02d35fbde9b327c3117ab9045ed2}\label{class_q_qt_multi_page_table_widget_ab05d02d35fbde9b327c3117ab9045ed2}} 
void {\bfseries set\+Header\+Data} (int i, Qt\+::\+Orientation, Q\+String data)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a7aadaa155857a945b4c6c6d47d1056a2}\label{class_q_qt_multi_page_table_widget_a7aadaa155857a945b4c6c6d47d1056a2}} 
void {\bfseries set\+Column\+Width} (int column, int width)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a3dc2f2ea39424a98af0759e055bb5144}\label{class_q_qt_multi_page_table_widget_a3dc2f2ea39424a98af0759e055bb5144}} 
void {\bfseries query} (Q\+String filter=\char`\"{}1=1\char`\"{})
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a6966cc86f5eec73cfa86c025acdf208b}\label{class_q_qt_multi_page_table_widget_a6966cc86f5eec73cfa86c025acdf208b}} 
void {\bfseries selected\+Rows} (int column, Q\+Vector$<$ Q\+String\+List $>$ \&strl)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a5f030ec901acb1454de5c0d94ee453a8}\label{class_q_qt_multi_page_table_widget_a5f030ec901acb1454de5c0d94ee453a8}} 
\mbox{\hyperlink{class_q_qt_table_widget}{Q\+Qt\+Table\+Widget}} $\ast$ {\bfseries selected\+Rows} (int column=0)
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_aad093b2a0940a227e31a439e4fea9d2a}\label{class_q_qt_multi_page_table_widget_aad093b2a0940a227e31a439e4fea9d2a}} 
int {\bfseries page\+Num} ()
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_ac403d2695447b137bedfc20bb8446f8e}\label{class_q_qt_multi_page_table_widget_ac403d2695447b137bedfc20bb8446f8e}} 
int {\bfseries current\+Page} ()
\item 
\mbox{\Hypertarget{class_q_qt_multi_page_table_widget_a61be3a03abbc76f5400cdcdd9727ec01}\label{class_q_qt_multi_page_table_widget_a61be3a03abbc76f5400cdcdd9727ec01}} 
void {\bfseries set\+Current\+Page} (int page)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \mbox{\hyperlink{class_q_qt_multi_page_table_widget}{Q\+Qt\+Multi\+Page\+Table\+Widget}} class 关于视图规格的改变改变到上层 这里的控件使用默认视图 这里的控件只是\+Table-\/\+D\+B关系，没有\+Tree/\+List模型 

第一次查询，为数据准备页面，速度较慢。 后来，变动时，只有导致页数变动时才会慢一点点的感觉。 平时查看，都是极速。 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/frame/qqtmultipagetablewidget.\+h\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/frame/qqtmultipagetablewidget.\+cpp\end{DoxyCompactItemize}
